package com.health.medicine.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.health.api.model.producer.ProducerRegisterRequest;
import com.health.common.model.vo.UserKeyVO;
import com.health.medicine.model.dto.producer.ProducerUpdateRequest;
import com.health.medicine.model.entity.Manufacturer;
import org.fisco.bcos.sdk.v3.codec.ContractCodecException;
import org.fisco.bcos.sdk.v3.transaction.model.exception.TransactionBaseException;

/**
* @author zhexueqi
* @description 针对表【manufacturer(药品生产厂家信息表)】的数据库操作Service
* @createDate 2024-08-30 13:09:28
*/
public interface ManufacturerService extends IService<Manufacturer> {

    Boolean createManufacturerToMysql(ProducerRegisterRequest producerRegisterRequest);

    boolean createManufacturer(UserKeyVO userKeyVO, String userAccount) throws TransactionBaseException, ContractCodecException;

    Boolean updateInfo(ProducerUpdateRequest producerUpdateRequest);

}
